﻿<%@ Page Language="F#" AutoEventWireup="true"  CodeFile="Suggest.aspx.fs" Inherits="Demos.DictionaryWeb.Suggest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
  <title>Dictionary</title>
  <link rel="stylesheet" type="text/css" href="suggest.css" />
</head>
<body>
  <form runat="server">
  <h1>AJAX dictionary</h1>
  <div id="sth">
    <div class="box">
    Enter the word here: <fwc:TextBox runat="server" id="txtInput" />
      &#160;&#160;<fwc:Label runat="server" id="lblStatus" ForeColor="red" /><br />
    Translate: 
    <fwc:RadioButton id="checkFromEn" runat="server" Checked="true" GroupName="ft" Text="from english"></fwc:RadioButton>
    <fwc:RadioButton id="checkToEn" runat="server" GroupName="ft" Text="to english"></fwc:RadioButton>
    &#160;&#160;&#160;
    Language: 
    <fwc:DropDownList runat="server" id="ddlLang">
    </fwc:DropDownList>
    </div>
    <div id="result">
    <fwc:Element runat="server" id="ctlOutput"><em>(enter word in the search box to start)</em></fwc:Element>
    </div>
  </div>
  <div id="foot">
    <em><small>AJAX dictionary. Using data from <a href="http://www.ilovelanguages.com/IDP/IDPfiles.html">http://www.ilovelanguages.com/IDP/IDPfiles.html</a></small></em><br />
    <em><small>The time is: <fwc:ClockControl id="clock" runat="Server" /></small></em>
  </div>
</form>
</body>
</html>